package org.example.domain.model.entity.url.mapstruct;

import com.github.pagehelper.PageInfo;
import org.example.domain.model.entity.url.UrlShortenerAccessLogs;
import org.example.domain.model.entity.url.vo.UrlShortenerStatsAccessRecordVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface UrlShortenerAccessLogsMapstruct {
    UrlShortenerAccessLogsMapstruct INSTANCE = Mappers.getMapper(UrlShortenerAccessLogsMapstruct.class);
    UrlShortenerStatsAccessRecordVo urlShortenerAccessLogsToUrlShortenerStatsAccessRecordVo(UrlShortenerAccessLogs urlShortenerAccessLogs);

    PageInfo<UrlShortenerStatsAccessRecordVo> urlShortenerAccessLogsListToUrlShortenerStatsAccessRecordVoList(PageInfo<UrlShortenerAccessLogs> urlShortenerAccessLogsList);

}


